package com.atguigu.springcloud.feign.appoint;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "CLOUD-PAYMENT-SERVICE", fallbackFactory = AppointFallback.class, fallback = AppointClientHystrix.class)
public interface AppointService {


    /**
     * @param
     * @return
     * @description: 模拟超时
     */
    @GetMapping(value = "/payment/feign/timeout")
    public String paymentFeignTimeOut();


}
